package gov.pbc.nn.kjgl.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

/**
 * 集中申报期限
 */
@Entity
@Table(name = "T_DECLARE_TIME")
public class DeclareTime extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Column(name = "YEAR_")
	@PropertyDef(label = "年份", description = "年份")
	private int year;
	@Column(name = "BEGIN_TIME_", length = 60)
	@PropertyDef(label = "起始日期", description = "起始日期")
	private Date beginTime;
	@Column(name = "END_TIME_", length = 60)
	@PropertyDef(label = "截止日期", description = "截止日期")
	private Date endTime;

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

}
